home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- if draggingAnything() then
- replaceDraggingAnything()
- else
- if modifierDown() then
- getAnXbottle()
- end if
- end if
- end
-
- on rightMouseDown
- if the stage = the activeWindow then
- if draggingAnything() then
- replaceDraggingAnything()
- else
- getAnXbottle()
- end if
- end if
- end
-
- on mouseEnter me
- if not draggingAnything() then
- showDrinkContents(#thebar)
- refreshHelpWindow(#thebar)
- end if
- end
-
- on mouseLeave me
- if not draggingAnything() then
- hideToolTip()
- end if
- end
-